{extend name="web/official_common/pc/base" /}

{block name="content"}
<!--主体内容 开始-->
<div class="download">
    <!--右侧区域 开始-->
    <div id="right">
        <div class="right_title"></div>
        <div class="right_body">
            <div class="InfoTitle"><h1>{$data['title']}</h1></div>
            <div class="info_from_wrap">
                {if $data['source']}
                <b>{:__l('index','Source')}：</b>
                    {if $data['source_url']}
                        <a href="{$data['source_url']}">{$data['source']}</a>&nbsp;
                    {else/}
                        <a href="javascript:;">{$data['source']}</a>&nbsp;
                    {/if}
                {/if}
                <b>{:__l('index','Date')}：</b>{:date('Y-m-d H:i:s',$data['createtime'])}&nbsp;
                <b>{:__l('index','Click')}：</b>{$data['click']}&nbsp;
                <b>{:__l('index','Belong to')}：</b><a href="javascript:;">{:ze($category,'name')}</a>
            </div>
            <!-- 频道/文章内容  开始-->
            <div class="InfoSContent"></div>
            <div class="InfoContent">
                <div>
                    <video width='100%' height='675px' src="{$data['video_file']}" controls="controls">
                        您的浏览器不支持 video 标签。
                    </video>
                </div>
                <p>{$data['subheading']}</p>
            </div>
            <!-- 频道/文章内容  结束-->

            <!-- 当前信息 上一条 下一条  开始-->
            <div class="info_previous_next_wrap">
                <div class="Previous">
                    <b>{:__l('index','Last video')}：</b>
                    {if empty($before)}
                        {:__l('index','There no data')}
                    {else/}
                        <a href="{:addon_url('official/web.official_video/details',[':pid'=>(int)input('param.pid'),':sid'=>(int)input('param.sid'),':id'=>$before['id']])}" title="{$before['title']}">{$before['title']}</a>
                    {/if}
                </div>

                <div class="Next">
                    <b>{:__l('index','Next video')}：</b>
                    {if empty($after)}
                        {:__l('index','There no data')}
                    {else/}
                        <a href="{:addon_url('official/web.official_video/details',[':pid'=>(int)input('param.pid'),':sid'=>(int)input('param.sid'),':id'=>$after['id']])}" title="{$after['title']}">{$after['title']}</a>
                    {/if}
                </div>
            </div>
            <!-- 当前信息 上一条 下一条  结束-->
        </div>
        <div class="right_bottom"></div>
    </div>
    <!--右侧区域 结束-->
    <div class="clear"></div>
</div>
<!--主体内容 结束-->
{/block}